package com.biostime.qdingding.modules.qd.service;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.biostime.qdingding.common.service.CrudService;
import com.biostime.qdingding.modules.qd.dao.PayDao;
import com.biostime.qdingding.modules.qd.entity.Pay;

/**
 * 支付纪录表Service
 * @author king
 * @version 2015-12-24
 */
@Service
@Transactional(readOnly = true)
public class PayService extends CrudService<PayDao, Pay> {
	public Pay findByTradeNo(String out_trade_no){
		return dao.findByTradeNo(out_trade_no);
	}
	
	public int updateTrasactionId(Pay pay){
		return dao.updateTrasactionId(pay);
	}
}
